Developer Documentation

QuickTime 4 API Documentation

Programming With QuickTime VR

| Previous | Chapter Contents | Chapter Top | Next |

Cursor Record

The cursRecord parameter to the function QTVRReplaceCursor specifies a cursor record, which indicates the cursor to replace and its replacement cursor. A cursor record is defined by the QTVRCursorRecord data type:

struct QTVRCursorRecord {
    UInt16                      theType;        /* field was previously
                                                    named "type"*/
    SInt16                      rsrcID;
    Handle                      handle;
};
typedef struct QTVRCursorRecord QTVRCursorRecord;
theType
The type of cursor to replace. The available cursor types are defined by constants; see "Cursor Types" .
rsrcID
The resource ID of the cursor to replace. See the appendix, "QuickTime VR Cursors," for a list of the currently used cursor resource IDs.
handle
A handle to the cursor data that is to replace the specified cursor. If theType is kQTVRUseDefaultCursor , then this field should contain the value nil .

© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |